Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update opentelemetry-rust monorepo to 0.27.0 #2443

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 15, 2024

This PR contains the following updates:

Package Type Update Change
opentelemetry dependencies minor 0.23.0 -> 0.27.0
opentelemetry-appender-tracing (source) dependencies minor 0.4.0 -> 0.27.0
opentelemetry-http dependencies minor 0.12.0 -> 0.27.0
opentelemetry-otlp (source) dependencies minor 0.16.0 -> 0.27.0
opentelemetry-prometheus dependencies minor 0.16.0 -> 0.27.0
opentelemetry-semantic-conventions (source) dependencies minor 0.15.0 -> 0.27.0
opentelemetry-stdout (source) dependencies minor 0.4.0 -> 0.27.0
opentelemetry_sdk dependencies minor 0.23.0 -> 0.27.0

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

v0.27.1: patch release

Compare Source

This release has improved internal logging to help with troubleshooting.

v0.27.0

Compare Source

v0.26.0: 0.26.0 Release

Compare Source

See changelog for individual crates to know the exact set of changes. As informed during previous release, all crates from this repo follows same version (0.26.0 for this release).
This release also upgrades Metric API (part of opentelemetry crate) from alpha to beta.

v0.25.0: OpenTelemetry 0.25.0 Release

Compare Source

See changelog for individual crates to know the exact set of changes. This release onwards, all crates from this repo follows same version (0.25.0 for today's release).

v0.24.0

Compare Source

See individual crate changelogs for details.

open-telemetry/opentelemetry-rust (opentelemetry-appender-tracing)

v0.27.0

Compare Source

Released 2024-Nov-11

  • Update opentelemetry dependency version to 0.27

  • Bump MSRV to 1.70 #​2179

  • Breaking 2291 Rename logs_level_enabled flag to spec_unstable_logs_enabled. Please enable this updated flag if the feature is needed. This flag will be removed once the feature is stabilized in the specifications.

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • 2101 The log events emitted via the tracing pipeline using the log-tracing crate no longer include the target metadata as attributes. Exporters or backends that rely on this attribute should now access the target directly from the LogRecord::target field.

v0.25.0

Compare Source

  • Update opentelemetry dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Reduce heap allocation by using &'static str for SeverityText.

v0.5.0

Compare Source

  • 1869 Utilize the LogRecord::set_target() method to pass the tracing target to the SDK.
    Exporters might use the target to override the instrumentation scope, which previously contained "opentelemetry-appender-tracing".

  • Breaking 1928 Insert tracing event name into LogRecord::event_name instead of attributes.

    • If using a custom exporter, then they must serialize this field directly from LogRecord::event_name instead of iterating over the attributes. OTLP Exporter is modified to handle this.
  • Update opentelemetry dependency version to 0.24

open-telemetry/opentelemetry-rust (opentelemetry-otlp)

v0.27.0

Compare Source

Released 2024-Nov-11

  • Update opentelemetry dependency version to 0.27

  • Update opentelemetry_sdk dependency version to 0.27

  • Update opentelemetry-http dependency version to 0.27

  • Update opentelemetry-proto dependency version to 0.27

  • BREAKING:

    • (#​2217) Replaced: The MetricsExporterBuilder interface is modified from with_temporality_selector to with_temporality example can be seen below:
      Previous Signature:

      MetricsExporterBuilder::default().with_temporality_selector(DeltaTemporalitySelector::new())

      Updated Signature:

      MetricsExporterBuilder::default().with_temporality(opentelemetry_sdk::metrics::Temporality::Delta)
    • (#​2221) Replaced:

      • The opentelemetry_otlp::new_pipeline().{trace,logging,metrics}() interface is now replaced with {TracerProvider,SdkMeterProvider,LoggerProvider}::builder().
      • The opentelemetry_otlp::new_exporter() interface is now replaced with {SpanExporter,MetricsExporter,LogExporter}::builder().

      Pull request #​2221 has a detailed migration guide in the description. See example below,
      and basic-otlp for more details:

      Previous Signature:

      let logger_provider: LoggerProvider = opentelemetry_otlp::new_pipeline()
        .logging()
        .with_resource(RESOURCE.clone())
        .with_exporter(
            opentelemetry_otlp::new_exporter()
                .tonic()
                .with_endpoint("http://localhost:4317")
        )
        .install_batch(runtime::Tokio)?;

      Updated Signature:

      let exporter = LogExporter::builder()
          .with_tonic()
          .with_endpoint("http://localhost:4317")
          .build()?;
      
      Ok(LoggerProvider::builder()
          .with_resource(RESOURCE.clone())
          .with_batch_exporter(exporter, runtime::Tokio)
          .build())
    • Renamed

      • (#​2255): de-pluralize Metric types.
        • MetricsExporter -> MetricExporter
        • MetricsExporterBuilder -> MetricExporterBuilder
    • #​2263
      Support hyper client for opentelemetry-otlp. This can be enabled using flag hyper-client.
      Refer example: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp/examples/basic-otlp-http

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • Update opentelemetry_sdk dependency version to 0.26
  • Update opentelemetry-http dependency version to 0.26
  • Update opentelemetry-proto dependency version to 0.26
  • Bump MSRV to 1.71.1 2140

v0.25.0

Compare Source

  • Update opentelemetry dependency version to 0.25
  • Update opentelemetry_sdk dependency version to 0.25
  • Update opentelemetry-http dependency version to 0.25
  • Update opentelemetry-proto dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Breaking
    The logrecord event-name is added as an attribute only if the feature flag
    populate-logs-event-name is enabled. The name of the attribute is changed from
    "name" to "event.name".
    1994,
    2050

v0.17.0

Compare Source

  • Add "metrics", "logs" to default features. With this, default feature list is
    "trace", "metrics" and "logs".
  • Breaking OtlpMetricPipeline.build() no longer invoke the
    global::set_meter_provider. User who setup the pipeline must do it
    themselves using global::set_meter_provider(meter_provider.clone());.
  • Add with_resource on OtlpLogPipeline, replacing the with_config method.
    Instead of using
    .with_config(Config::default().with_resource(RESOURCE::default())) users must
    now use .with_resource(RESOURCE::default()) to configure Resource when using
    OtlpLogPipeline.
  • Breaking The methods OtlpTracePipeline::install_simple() and OtlpTracePipeline::install_batch() would now return TracerProvider instead of Tracer.
    These methods would also no longer set the global tracer provider. It would now be the responsibility of users to set it by calling global::set_tracer_provider(tracer_provider.clone());. Refer to the basic-otlp and basic-otlp-http examples on how to initialize OTLP Trace Exporter.
  • Breaking Correct the misspelling of "webkpi" to "webpki" in features #​1842
  • Bump MSRV to 1.70 #​1840
  • Fixing the OTLP HTTP/JSON exporter. #​1882 - The exporter was broken in the
    previous release.
  • Breaking 1869 The OTLP logs exporter now overrides the InstrumentationScope::name field with the target from LogRecord, if target is populated.
  • Groups batch of LogRecord and Span by their resource and instrumentation scope before exporting, for better efficiency #​1873.
  • Breaking Update to http v1 and tonic v0.12 #​1674
  • Update opentelemetry dependency version to 0.24
  • Update opentelemetry_sdk dependency version to 0.24
  • Update opentelemetry-http dependency version to 0.13
  • Update opentelemetry-proto dependency version to 0.7
open-telemetry/opentelemetry-rust (opentelemetry-semantic-conventions)

v0.27.0

Compare Source

Released 2024-Nov-11

  • Bump MSRV to 1.70 #​2179
  • Update to v1.28.0 of the semantic conventions.

v0.26.0

Compare Source

Released 2024-Sep-30

Changed
  • Starting with this version, this crate will use Weaver for the generation of
    the semantic conventions.
  • Breaking Introduced a new feature semconv_experimental to enable experimental semantic conventions.
    This feature is disabled by default.

v0.25.0

Compare Source

Changed
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Update to v1.27.0 of the semantic conventions.
    #​2000

v0.16.0

Compare Source

Changed
  • Breaking Moved duplicated (and unrelated) attributes from opentelemetry_semantic_conventions::trace and opentelemetry_semantic_conventions::resource into opentelemetry_semantic_conventions::attribute (which now contains all semantic attributes). trace and resource now only contain references to attributes which fall under their respective category.
Added
  • Created opentelemetry_semantic_conventions::metric to store metric semantic conventions.
open-telemetry/opentelemetry-rust (opentelemetry-stdout)

v0.27.0

Compare Source

Released 2024-Nov-11

  • Update opentelemetry dependency version to 0.27

  • Update opentelemetry_sdk dependency version to 0.27

  • Bump MSRV to 1.70 #​2179

  • BREAKING

    • Replaced
      • (#​2217): The MetricsExporterBuilder interface is modified from with_temporality_selector to with_temporality example can be seen below:
        Previous Signature:
      MetricsExporterBuilder::default().with_temporality_selector(DeltaTemporalitySelector::new())
      Updated Signature:
      MetricsExporterBuilder::default().with_temporality(opentelemetry_sdk::metrics::Temporality::Delta)
    • Renamed
      • (#​2255): de-pluralize Metric types.
        • MetricsExporter -> MetricExporter
        • MetricsExporterBuilder -> MetricExporterBuilder

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • Update opentelemetry_sdk dependency version to 0.26

v0.25.0

Compare Source

  • Update opentelemetry dependency version to 0.25
  • Update opentelemetry_sdk dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Breaking 1994 The logrecord event-name is added as attribute with
    key name only if the feature flag populate-logs-event-name is enabled.
  • Breaking 2040 Simplified stdout exporter:
    • Now only supports writing to stdout, removing ability to send telemetry to other streams.
    • Output format improved for better human readability.
    • Note: This exporter is intended for learning and debugging purposes only. Not recommended for production use or automated parsing.

v0.5.0

Compare Source

  • Update opentelemetry dependency version to 0.24
  • Update opentelemetry_sdk dependency version to 0.24

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (rebase) July 15, 2024 20:23
@github-actions github-actions bot added the type: fix Iterations on existing features or infrastructure. label Jul 15, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch 28 times, most recently from efc06ec to add0309 Compare July 22, 2024 15:26
@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch 14 times, most recently from 0392346 to 34c8282 Compare December 8, 2024 14:24
@renovate renovate bot changed the title fix(deps): update opentelemetry-rust monorepo fix(deps): update opentelemetry-rust monorepo to 0.27.0 Dec 8, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch 13 times, most recently from 10dba31 to 1361938 Compare December 10, 2024 19:34
@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch from 1361938 to cc519c9 Compare December 11, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fix Iterations on existing features or infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant